package com.zja.dao;
import com.zja.model.Message;

import java.util.List;

public interface MessageDao {
    List<Message> selectAll();

    Message selectById(Long id);

    boolean insert(Message message);

    boolean update(Message message);

    boolean deleteById(Long id);
}
